<%@ page isELIgnored="false" contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>增加游戏</title>
    <link href="${pageContext.request.contextPath }/statics/bootstrap.min.css" rel="stylesheet">
    <script type="javascript" src="${pageContext.request.contextPath }/statics/bootstrap.min.js"></script>
    <script type="javascript" src="${pageContext.request.contextPath }/statics/jquery-1.12.4.js"></script>
    <style>
        .btn{
            margin-left: 500px;
        }
    </style>
</head>
<body>
<div class="container">
    <c:if test="${empty error}"><span>${error}</span></c:if>
    <form action="${pageContext.request.contextPath }/add.html" method="post">
        <div class="form-group">
            <label for="gameName">游戏名称：</label>
            <input type="text" class="form-control" name = "gameName" id="gameName">
        </div>
        <div class="form-group">
            <label for="gameType">游戏类别：</label>
            <input type="text" class="form-control" name="gameType" id="gameType">
        </div>
        <div class="form-group">
            <label for="gameCompany">发行公司：</label>
            <input type="text" class="form-control" name="gameCompany" id="gameCompany">
        </div>
        <div class="form-group">
            <label for="gameYear">发行年份：</label>
            <input type="text" class="form-control" name="gameYear" id="gameYear">
        </div>
        <button type="submit" class="btn btn-default">增加</button>
        <button type="button" onclick="window.history.back();" id="back">返回</button>
    </form>
</div>
</body>
</html>
